package com.uiandtherest.app

class TeamService {

	static expose = ['flex-remoting']
    
	boolean transactional = true

    def getAllTeams(){
		return Team.list()
	}
	
	def void update(Team t){
		t.save()
	}
}
